import React from 'react';

class C extends React.Component {
  changeUserInfo(){
    const actions = this.props.actions
    actions.login({
      userid: '123',
      city: 'nanjing'
    })
  }

  render(){
    return (
      <div>
        <button onClick={this.changeUserInfo.bind(this)}>修改</button>
      </div>
    );
  }
}

export default C;